import {Component} from '@angular/core';
import {
    IonicPage, AlertController, LoadingController, NavController, NavParams, Platform,
    ToastController, ViewController, ModalController
} from 'ionic-angular';
import {SystemService} from "../service/SystemService";
import {BasePage} from "../BasePage";
import {Log} from "../../framework/utils/Log";


/**
 * Generated class for the ToolsTabPage page.
 *
 * See https://ionicframework.com/docs/components/#navigation for more info on
 * Ionic pages and navigation.
 */


@Component({
    selector: 'page-billVerify',
    templateUrl: 'billVerify.html',
})
export class BillVerifyPage  extends BasePage{
    private static TAG: string = 'billVerifyPage';
    faPiaoArr=[];
    faPiaoVal:any;
    constructor(public platform: Platform,
                public navCtrl: NavController,
                public navParams: NavParams,
                public sys: SystemService,
                public loadingCtrl: LoadingController,
                public toastCtrl: ToastController,
                public alertCtrl: AlertController,
                public modalCtrl:ModalController,
                public view:ViewController) {
        super(platform, loadingCtrl, toastCtrl, alertCtrl);
        this.faPiaoArr =this.navParams.data.bill;
        this.faPiaoVal =this.navParams.data.data;

    }

    ionViewDidLoad() {
        console.log('ionViewDidLoad BillVerifyPage');
    }

    bgConClick() {
        if (this.view) {
            this.view.dismiss(null, '', {animate: false});
        }
        event.stopPropagation();
    }

}
